﻿CREATE TABLE [dbo].[Proof] (
    [Id]       UNIQUEIDENTIFIER NOT NULL,
    [Mobile]   NVARCHAR (50)    NULL,
    [Message]  NVARCHAR (140)   NULL,
    [Email]    NVARCHAR (256)   NULL,
    [UserId]   UNIQUEIDENTIFIER NOT NULL,
    [Value]    NVARCHAR (50)    NOT NULL,
    [CreateAt] DATETIME2 (3)    NOT NULL,
    [Used]     BIT              NOT NULL,
    CONSTRAINT [PK_Proof] PRIMARY KEY CLUSTERED ([Id] ASC),
    CONSTRAINT [FK_Proof_User] FOREIGN KEY ([UserId]) REFERENCES [dbo].[User] ([Id])
);









